package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 返利设置
 * </p>
 *
 * @author jj
 * @since 2019-12-16
 */
@TableName("yingbao_sys_rebate_setting")
public class SysRebateSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 新手直推
     */
    @TableField("direct")
    private Long direct;

    /**
     * 新手间推
     */
    @TableField("betweent")
    private Long betweent;

    /**
     * 建仓直推
     */
    @TableField("buying_direct")
    private Long buyingDirect;

    /**
     * 建仓间推
     */
    @TableField("buying_between")
    private Long buyingBetween;

    /**
     * 返利类别
     */
    @TableField("rebate_type")
    private Integer rebateType;

    /**
     * 返利时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 购买时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 申诉时间
     */
    @TableField("appeal_time")
    private Date appealTime;

    /**
     * 名称
     */
    @TableField("standby2")
    private String standby2;

    /**
     * 审批备注
     */
    @TableField("standby3")
    private String standby3;

    /**
     * 付款备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDirect() {
        return direct;
    }

    public void setDirect(Long direct) {
        this.direct = direct;
    }

    public Long getBetweent() {
        return betweent;
    }

    public void setBetweent(Long betweent) {
        this.betweent = betweent;
    }

    public Long getBuyingDirect() {
        return buyingDirect;
    }

    public void setBuyingDirect(Long buyingDirect) {
        this.buyingDirect = buyingDirect;
    }

    public Long getBuyingBetween() {
        return buyingBetween;
    }

    public void setBuyingBetween(Long buyingBetween) {
        this.buyingBetween = buyingBetween;
    }

    public Integer getRebateType() {
        return rebateType;
    }

    public void setRebateType(Integer rebateType) {
        this.rebateType = rebateType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getAppealTime() {
        return appealTime;
    }

    public void setAppealTime(Date appealTime) {
        this.appealTime = appealTime;
    }

    public String getStandby2() {
        return standby2;
    }

    public void setStandby2(String standby2) {
        this.standby2 = standby2;
    }

    public String getStandby3() {
        return standby3;
    }

    public void setStandby3(String standby3) {
        this.standby3 = standby3;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "SysRebateSetting{" +
        "id=" + id +
        ", direct=" + direct +
        ", between=" + betweent +
        ", buyingDirect=" + buyingDirect +
        ", buyingBetween=" + buyingBetween +
        ", rebateType=" + rebateType +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", appealTime=" + appealTime +
        ", standby2=" + standby2 +
        ", standby3=" + standby3 +
        ", remark=" + remark +
        ", version=" + version +
        "}";
    }
}
